package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.MemberEntity;
import cn.mumzone.pos.model.ReserveOrderEntity;
import cn.mumzone.pos.model.ServiceEntity;
import cn.mumzone.pos.model.ShopUsableInfoEntity;

/**
 * Created By Dlx
 * on 2019/7/8
 */
public interface AddServeContract {
    interface View extends BaseView {
        void showServeList(List<ServiceEntity> entity);

        void showServeWithCardList(List<ServiceEntity> entity);

        void showSettleSuccess();

        void showAddReserveSuccess(ReserveOrderEntity reserveOrderEntity);

        void onSearchMemberSuccess(MemberEntity memberEntity);

        void onNoMemberFound();

        void addServeFailed();
    }

    interface Presenter extends BasePresenter<View> {

        void getServeList(String memberId);

        void doAddReserve(String memberId, String username, String phone, String appointmentTime, List<ServiceEntity> serviceList);

        void searchMember(String phone);

        void getServeListWithMemberId(String memberId);
    }
}
